@isTest
private class QueryPrictureOrVoiceServiceTest {
    static testMethod void testMethod1() {
        WeiXinAPI__c setting = new WeiXinAPI__c();
        setting.Name = 'queryFile';
        setting.URL__c = 'https://xxxxx/ws/Maike/delivery';
        setting.Security__c = 'shwmeimob';
        insert setting;

        String rtn = QueryPrictureOrVoiceService.query('图片', '99999999');
    }
}